package com.quanyan.ic.vendingMachine.mapper.entity;

import com.quanyan.ic.common.paging.Limit;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class VmReplenishmentRecordEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Limit limit;

    public VmReplenishmentRecordEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Limit limit) {
        this.limit = limit;
    }

    public Limit getLimit() {
        return limit;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNull() {
            addCriterion("place_id is null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNotNull() {
            addCriterion("place_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdEqualTo(Integer value) {
            addCriterion("place_id =", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotEqualTo(Integer value) {
            addCriterion("place_id <>", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThan(Integer value) {
            addCriterion("place_id >", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("place_id >=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThan(Integer value) {
            addCriterion("place_id <", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThanOrEqualTo(Integer value) {
            addCriterion("place_id <=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIn(List<Integer> values) {
            addCriterion("place_id in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotIn(List<Integer> values) {
            addCriterion("place_id not in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdBetween(Integer value1, Integer value2) {
            addCriterion("place_id between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("place_id not between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceNameIsNull() {
            addCriterion("place_name is null");
            return (Criteria) this;
        }

        public Criteria andPlaceNameIsNotNull() {
            addCriterion("place_name is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceNameEqualTo(String value) {
            addCriterion("place_name =", value, "placeName");
            return (Criteria) this;
        }

        public Criteria andPlaceNameNotEqualTo(String value) {
            addCriterion("place_name <>", value, "placeName");
            return (Criteria) this;
        }

        public Criteria andPlaceNameGreaterThan(String value) {
            addCriterion("place_name >", value, "placeName");
            return (Criteria) this;
        }

        public Criteria andPlaceNameGreaterThanOrEqualTo(String value) {
            addCriterion("place_name >=", value, "placeName");
            return (Criteria) this;
        }

        public Criteria andPlaceNameLessThan(String value) {
            addCriterion("place_name <", value, "placeName");
            return (Criteria) this;
        }

        public Criteria andPlaceNameLessThanOrEqualTo(String value) {
            addCriterion("place_name <=", value, "placeName");
            return (Criteria) this;
        }

        public Criteria andPlaceNameLike(String value) {
            addCriterion("place_name like", value, "placeName");
            return (Criteria) this;
        }

        public Criteria andPlaceNameNotLike(String value) {
            addCriterion("place_name not like", value, "placeName");
            return (Criteria) this;
        }

        public Criteria andPlaceNameIn(List<String> values) {
            addCriterion("place_name in", values, "placeName");
            return (Criteria) this;
        }

        public Criteria andPlaceNameNotIn(List<String> values) {
            addCriterion("place_name not in", values, "placeName");
            return (Criteria) this;
        }

        public Criteria andPlaceNameBetween(String value1, String value2) {
            addCriterion("place_name between", value1, value2, "placeName");
            return (Criteria) this;
        }

        public Criteria andPlaceNameNotBetween(String value1, String value2) {
            addCriterion("place_name not between", value1, value2, "placeName");
            return (Criteria) this;
        }

        public Criteria andVmNumberIsNull() {
            addCriterion("vm_number is null");
            return (Criteria) this;
        }

        public Criteria andVmNumberIsNotNull() {
            addCriterion("vm_number is not null");
            return (Criteria) this;
        }

        public Criteria andVmNumberEqualTo(String value) {
            addCriterion("vm_number =", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberNotEqualTo(String value) {
            addCriterion("vm_number <>", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberGreaterThan(String value) {
            addCriterion("vm_number >", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberGreaterThanOrEqualTo(String value) {
            addCriterion("vm_number >=", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberLessThan(String value) {
            addCriterion("vm_number <", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberLessThanOrEqualTo(String value) {
            addCriterion("vm_number <=", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberLike(String value) {
            addCriterion("vm_number like", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberNotLike(String value) {
            addCriterion("vm_number not like", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberIn(List<String> values) {
            addCriterion("vm_number in", values, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberNotIn(List<String> values) {
            addCriterion("vm_number not in", values, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberBetween(String value1, String value2) {
            addCriterion("vm_number between", value1, value2, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberNotBetween(String value1, String value2) {
            addCriterion("vm_number not between", value1, value2, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNameIsNull() {
            addCriterion("vm_name is null");
            return (Criteria) this;
        }

        public Criteria andVmNameIsNotNull() {
            addCriterion("vm_name is not null");
            return (Criteria) this;
        }

        public Criteria andVmNameEqualTo(String value) {
            addCriterion("vm_name =", value, "vmName");
            return (Criteria) this;
        }

        public Criteria andVmNameNotEqualTo(String value) {
            addCriterion("vm_name <>", value, "vmName");
            return (Criteria) this;
        }

        public Criteria andVmNameGreaterThan(String value) {
            addCriterion("vm_name >", value, "vmName");
            return (Criteria) this;
        }

        public Criteria andVmNameGreaterThanOrEqualTo(String value) {
            addCriterion("vm_name >=", value, "vmName");
            return (Criteria) this;
        }

        public Criteria andVmNameLessThan(String value) {
            addCriterion("vm_name <", value, "vmName");
            return (Criteria) this;
        }

        public Criteria andVmNameLessThanOrEqualTo(String value) {
            addCriterion("vm_name <=", value, "vmName");
            return (Criteria) this;
        }

        public Criteria andVmNameLike(String value) {
            addCriterion("vm_name like", value, "vmName");
            return (Criteria) this;
        }

        public Criteria andVmNameNotLike(String value) {
            addCriterion("vm_name not like", value, "vmName");
            return (Criteria) this;
        }

        public Criteria andVmNameIn(List<String> values) {
            addCriterion("vm_name in", values, "vmName");
            return (Criteria) this;
        }

        public Criteria andVmNameNotIn(List<String> values) {
            addCriterion("vm_name not in", values, "vmName");
            return (Criteria) this;
        }

        public Criteria andVmNameBetween(String value1, String value2) {
            addCriterion("vm_name between", value1, value2, "vmName");
            return (Criteria) this;
        }

        public Criteria andVmNameNotBetween(String value1, String value2) {
            addCriterion("vm_name not between", value1, value2, "vmName");
            return (Criteria) this;
        }

        public Criteria andOpUserIsNull() {
            addCriterion("op_user is null");
            return (Criteria) this;
        }

        public Criteria andOpUserIsNotNull() {
            addCriterion("op_user is not null");
            return (Criteria) this;
        }

        public Criteria andOpUserEqualTo(String value) {
            addCriterion("op_user =", value, "opUser");
            return (Criteria) this;
        }

        public Criteria andOpUserNotEqualTo(String value) {
            addCriterion("op_user <>", value, "opUser");
            return (Criteria) this;
        }

        public Criteria andOpUserGreaterThan(String value) {
            addCriterion("op_user >", value, "opUser");
            return (Criteria) this;
        }

        public Criteria andOpUserGreaterThanOrEqualTo(String value) {
            addCriterion("op_user >=", value, "opUser");
            return (Criteria) this;
        }

        public Criteria andOpUserLessThan(String value) {
            addCriterion("op_user <", value, "opUser");
            return (Criteria) this;
        }

        public Criteria andOpUserLessThanOrEqualTo(String value) {
            addCriterion("op_user <=", value, "opUser");
            return (Criteria) this;
        }

        public Criteria andOpUserLike(String value) {
            addCriterion("op_user like", value, "opUser");
            return (Criteria) this;
        }

        public Criteria andOpUserNotLike(String value) {
            addCriterion("op_user not like", value, "opUser");
            return (Criteria) this;
        }

        public Criteria andOpUserIn(List<String> values) {
            addCriterion("op_user in", values, "opUser");
            return (Criteria) this;
        }

        public Criteria andOpUserNotIn(List<String> values) {
            addCriterion("op_user not in", values, "opUser");
            return (Criteria) this;
        }

        public Criteria andOpUserBetween(String value1, String value2) {
            addCriterion("op_user between", value1, value2, "opUser");
            return (Criteria) this;
        }

        public Criteria andOpUserNotBetween(String value1, String value2) {
            addCriterion("op_user not between", value1, value2, "opUser");
            return (Criteria) this;
        }

        public Criteria andOpPwdIsNull() {
            addCriterion("op_pwd is null");
            return (Criteria) this;
        }

        public Criteria andOpPwdIsNotNull() {
            addCriterion("op_pwd is not null");
            return (Criteria) this;
        }

        public Criteria andOpPwdEqualTo(String value) {
            addCriterion("op_pwd =", value, "opPwd");
            return (Criteria) this;
        }

        public Criteria andOpPwdNotEqualTo(String value) {
            addCriterion("op_pwd <>", value, "opPwd");
            return (Criteria) this;
        }

        public Criteria andOpPwdGreaterThan(String value) {
            addCriterion("op_pwd >", value, "opPwd");
            return (Criteria) this;
        }

        public Criteria andOpPwdGreaterThanOrEqualTo(String value) {
            addCriterion("op_pwd >=", value, "opPwd");
            return (Criteria) this;
        }

        public Criteria andOpPwdLessThan(String value) {
            addCriterion("op_pwd <", value, "opPwd");
            return (Criteria) this;
        }

        public Criteria andOpPwdLessThanOrEqualTo(String value) {
            addCriterion("op_pwd <=", value, "opPwd");
            return (Criteria) this;
        }

        public Criteria andOpPwdLike(String value) {
            addCriterion("op_pwd like", value, "opPwd");
            return (Criteria) this;
        }

        public Criteria andOpPwdNotLike(String value) {
            addCriterion("op_pwd not like", value, "opPwd");
            return (Criteria) this;
        }

        public Criteria andOpPwdIn(List<String> values) {
            addCriterion("op_pwd in", values, "opPwd");
            return (Criteria) this;
        }

        public Criteria andOpPwdNotIn(List<String> values) {
            addCriterion("op_pwd not in", values, "opPwd");
            return (Criteria) this;
        }

        public Criteria andOpPwdBetween(String value1, String value2) {
            addCriterion("op_pwd between", value1, value2, "opPwd");
            return (Criteria) this;
        }

        public Criteria andOpPwdNotBetween(String value1, String value2) {
            addCriterion("op_pwd not between", value1, value2, "opPwd");
            return (Criteria) this;
        }

        public Criteria andOpTimeIsNull() {
            addCriterion("op_time is null");
            return (Criteria) this;
        }

        public Criteria andOpTimeIsNotNull() {
            addCriterion("op_time is not null");
            return (Criteria) this;
        }

        public Criteria andOpTimeEqualTo(Date value) {
            addCriterion("op_time =", value, "opTime");
            return (Criteria) this;
        }

        public Criteria andOpTimeNotEqualTo(Date value) {
            addCriterion("op_time <>", value, "opTime");
            return (Criteria) this;
        }

        public Criteria andOpTimeGreaterThan(Date value) {
            addCriterion("op_time >", value, "opTime");
            return (Criteria) this;
        }

        public Criteria andOpTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("op_time >=", value, "opTime");
            return (Criteria) this;
        }

        public Criteria andOpTimeLessThan(Date value) {
            addCriterion("op_time <", value, "opTime");
            return (Criteria) this;
        }

        public Criteria andOpTimeLessThanOrEqualTo(Date value) {
            addCriterion("op_time <=", value, "opTime");
            return (Criteria) this;
        }

        public Criteria andOpTimeIn(List<Date> values) {
            addCriterion("op_time in", values, "opTime");
            return (Criteria) this;
        }

        public Criteria andOpTimeNotIn(List<Date> values) {
            addCriterion("op_time not in", values, "opTime");
            return (Criteria) this;
        }

        public Criteria andOpTimeBetween(Date value1, Date value2) {
            addCriterion("op_time between", value1, value2, "opTime");
            return (Criteria) this;
        }

        public Criteria andOpTimeNotBetween(Date value1, Date value2) {
            addCriterion("op_time not between", value1, value2, "opTime");
            return (Criteria) this;
        }

        public Criteria andSnapshootBeforeIsNull() {
            addCriterion("snapshoot_before is null");
            return (Criteria) this;
        }

        public Criteria andSnapshootBeforeIsNotNull() {
            addCriterion("snapshoot_before is not null");
            return (Criteria) this;
        }

        public Criteria andSnapshootBeforeEqualTo(String value) {
            addCriterion("snapshoot_before =", value, "snapshootBefore");
            return (Criteria) this;
        }

        public Criteria andSnapshootBeforeNotEqualTo(String value) {
            addCriterion("snapshoot_before <>", value, "snapshootBefore");
            return (Criteria) this;
        }

        public Criteria andSnapshootBeforeGreaterThan(String value) {
            addCriterion("snapshoot_before >", value, "snapshootBefore");
            return (Criteria) this;
        }

        public Criteria andSnapshootBeforeGreaterThanOrEqualTo(String value) {
            addCriterion("snapshoot_before >=", value, "snapshootBefore");
            return (Criteria) this;
        }

        public Criteria andSnapshootBeforeLessThan(String value) {
            addCriterion("snapshoot_before <", value, "snapshootBefore");
            return (Criteria) this;
        }

        public Criteria andSnapshootBeforeLessThanOrEqualTo(String value) {
            addCriterion("snapshoot_before <=", value, "snapshootBefore");
            return (Criteria) this;
        }

        public Criteria andSnapshootBeforeLike(String value) {
            addCriterion("snapshoot_before like", value, "snapshootBefore");
            return (Criteria) this;
        }

        public Criteria andSnapshootBeforeNotLike(String value) {
            addCriterion("snapshoot_before not like", value, "snapshootBefore");
            return (Criteria) this;
        }

        public Criteria andSnapshootBeforeIn(List<String> values) {
            addCriterion("snapshoot_before in", values, "snapshootBefore");
            return (Criteria) this;
        }

        public Criteria andSnapshootBeforeNotIn(List<String> values) {
            addCriterion("snapshoot_before not in", values, "snapshootBefore");
            return (Criteria) this;
        }

        public Criteria andSnapshootBeforeBetween(String value1, String value2) {
            addCriterion("snapshoot_before between", value1, value2, "snapshootBefore");
            return (Criteria) this;
        }

        public Criteria andSnapshootBeforeNotBetween(String value1, String value2) {
            addCriterion("snapshoot_before not between", value1, value2, "snapshootBefore");
            return (Criteria) this;
        }

        public Criteria andSnapshootAfterIsNull() {
            addCriterion("snapshoot_after is null");
            return (Criteria) this;
        }

        public Criteria andSnapshootAfterIsNotNull() {
            addCriterion("snapshoot_after is not null");
            return (Criteria) this;
        }

        public Criteria andSnapshootAfterEqualTo(String value) {
            addCriterion("snapshoot_after =", value, "snapshootAfter");
            return (Criteria) this;
        }

        public Criteria andSnapshootAfterNotEqualTo(String value) {
            addCriterion("snapshoot_after <>", value, "snapshootAfter");
            return (Criteria) this;
        }

        public Criteria andSnapshootAfterGreaterThan(String value) {
            addCriterion("snapshoot_after >", value, "snapshootAfter");
            return (Criteria) this;
        }

        public Criteria andSnapshootAfterGreaterThanOrEqualTo(String value) {
            addCriterion("snapshoot_after >=", value, "snapshootAfter");
            return (Criteria) this;
        }

        public Criteria andSnapshootAfterLessThan(String value) {
            addCriterion("snapshoot_after <", value, "snapshootAfter");
            return (Criteria) this;
        }

        public Criteria andSnapshootAfterLessThanOrEqualTo(String value) {
            addCriterion("snapshoot_after <=", value, "snapshootAfter");
            return (Criteria) this;
        }

        public Criteria andSnapshootAfterLike(String value) {
            addCriterion("snapshoot_after like", value, "snapshootAfter");
            return (Criteria) this;
        }

        public Criteria andSnapshootAfterNotLike(String value) {
            addCriterion("snapshoot_after not like", value, "snapshootAfter");
            return (Criteria) this;
        }

        public Criteria andSnapshootAfterIn(List<String> values) {
            addCriterion("snapshoot_after in", values, "snapshootAfter");
            return (Criteria) this;
        }

        public Criteria andSnapshootAfterNotIn(List<String> values) {
            addCriterion("snapshoot_after not in", values, "snapshootAfter");
            return (Criteria) this;
        }

        public Criteria andSnapshootAfterBetween(String value1, String value2) {
            addCriterion("snapshoot_after between", value1, value2, "snapshootAfter");
            return (Criteria) this;
        }

        public Criteria andSnapshootAfterNotBetween(String value1, String value2) {
            addCriterion("snapshoot_after not between", value1, value2, "snapshootAfter");
            return (Criteria) this;
        }

        public Criteria andSummaryIsNull() {
            addCriterion("summary is null");
            return (Criteria) this;
        }

        public Criteria andSummaryIsNotNull() {
            addCriterion("summary is not null");
            return (Criteria) this;
        }

        public Criteria andSummaryEqualTo(String value) {
            addCriterion("summary =", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryNotEqualTo(String value) {
            addCriterion("summary <>", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryGreaterThan(String value) {
            addCriterion("summary >", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryGreaterThanOrEqualTo(String value) {
            addCriterion("summary >=", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryLessThan(String value) {
            addCriterion("summary <", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryLessThanOrEqualTo(String value) {
            addCriterion("summary <=", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryLike(String value) {
            addCriterion("summary like", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryNotLike(String value) {
            addCriterion("summary not like", value, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryIn(List<String> values) {
            addCriterion("summary in", values, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryNotIn(List<String> values) {
            addCriterion("summary not in", values, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryBetween(String value1, String value2) {
            addCriterion("summary between", value1, value2, "summary");
            return (Criteria) this;
        }

        public Criteria andSummaryNotBetween(String value1, String value2) {
            addCriterion("summary not between", value1, value2, "summary");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}